package com.kaba.xtzhgl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kaba.bean.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {
    public List<SysRole> zhcx(SysRole sysRole);
    public List<SysRole> queryRole();
    public void saveRole(SysRole sysRole);
    public  void saveRoleMenu(Integer roleId,Integer menuId);
    public void updateRole(SysRole sysRole);
    public List<SysRole> querysByname(String username);



    
}
